imximage: Specify default IVT offset in IMX image
authorBryan O'Donoghue <[email protected]>
Tue, 24 Apr 2018 17:46:31 +0000 (18:46 +0100)
committerStefano Babic <[email protected]>
Thu, 26 Apr 2018 06:52:51 +0000 (08:52 +0200)
commit69f0695067a1938946a3b3e492e0c9cb6e79132d
tree3b98c0be6c6dcc3b839a0b59d751504ef2d8e3f1
parentaf1b492dfafc033e06da49ba05fce98504221d6c
imximage: Specify default IVT offset in IMX image

This patch adds BOOTROM_IVT_HDR_OFFSET at 0xC00. The BootROM expects to
find the IVT header at a particular offset in an i.MX image.

Defining the expected offset of the IVT header in the first-stage BootROM
image format is of use of later stage authentication routines where those
routines continue to follow the first-stage authentication layout.

This patch defines the first stage offset which later patch make use of.

Signed-off-by: Bryan O'Donoghue <[email protected]>
Cc: Utkarsh Gupta <[email protected]>
Cc: Breno Lima <[email protected]>
Cc: Fabio Estevam <[email protected]>
Tested-by: Breno Lima <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
include/imximage.h